package cn.briarbear.myblog.utils;

import cn.briarbear.myblog.entity.Result;

public class ResultUtil {


    //发生错误
    public static Result error(Integer code, String msg){

        Result result = new Result();
        result.setCode(code);
        result.setMsg(msg);

        return result;
    }
}
